
#ifndef EVENTQUEUE_H_

#define EVENTQUEUE_H_

#include "common.h"

class EventQueue{
	public:
		EventQueue();
		~EventQueue();

		void   insertEvent( Event *e );
		Event* nextEvent();
		bool   empty() const;

		void clearEventQueue();

	protected:
		TEventVector event_queue_;
		//for debug
		uint32_t total_count_;
		uint32_t max_size_;
};

#endif /* EVENTQUEUE_H_ */

